home *** CD-ROM | disk | FTP | other *** search
/ Personal Paint v7.1 / Cloanto Personal Paint v7.1.iso / utilities / cloanto_script_dt / install < prev    next >
Text File  |  1996-02-21  |  1KB  |  40 lines

  1. ; $VER: InstallScript_dt 1.0
  2. ; Cloanto Script DataType Installer Script
  3. ; Copyright ⌐ 1996 Cloanto Italia srl
  4. ; Cloanto is a registered trademark of Cloanto Italia srl
  5. ; "Installer and Installer project icon Copyright ⌐ 1991-1993 Commodore-Amiga, Inc. All Rights Reserved
  6. ;  Reproduced and distributed under license from Commodore"
  7. ; New installer icon design Copyright ⌐ 1994 Cloanto Italia srl
  8.  
  9. (if (< (/ (getversion "icon.library" (resident)) 65536) 39) (message "\nDataTypes require Amiga OS 3.0 or higher."))
  10.  
  11. (working "Installing Script DataType")
  12.  
  13. (if (<> (exists "SYS:Classes") 2) (makedir "SYS:Classes" (infos)) )
  14.  
  15. (copyfiles
  16.     (prompt "Copying Format Descriptor")
  17.     (help @copyfiles-help)
  18.     (source "Devs/DataTypes")
  19.     (dest "DEVS:DataTypes")
  20.     (all)
  21.     (infos)
  22.     (optional "nofail" "force")
  23.     (confirm)
  24. )
  25.  
  26. (copylib
  27.     (prompt "Copying Script DataType")
  28.     (help @copylib-help)
  29.     (source "Classes/DataTypes/script.datatype")
  30.     (dest "SYS:Classes/DataTypes")
  31.     (optional "nofail" "force")
  32.     (confirm)
  33.     )
  34.  
  35. (run "C:AddDataTypes QUIET REFRESH")
  36.  
  37. (message "\nInstallation complete.\n\nDouble-click on \"Test_2\" to test.")
  38.  
  39. (exit (quiet))
  40.